<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org"
>
<head>
    <script th:src="@{/vendor/jquery/jquery.min.js}"></script>
    <script th:src="@{/vendor/bootstrap/js/bootstrap-table.js}"></script>
    <!-- Bootstrap Core JavaScript -->
    <script th:src="@{/vendor/bootstrap/js/bootstrap.min.js}"></script>
    <!-- Metis Menu Plugin JavaScript -->
    <script th:src="@{/vendor/metisMenu/metisMenu.min.js}"></script>
    <!-- Custom Theme JavaScript -->
    <script th:src="@{/dist/js/sb-admin-2.js}"></script>
    <script th:src="@{/vendor/datepicker/bootstrap-datepicker.js}"></script>
    <link href="/vendor/bootstrap/css/bootstrap-table.css" rel="stylesheet">
    <link href="/vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
    <!-- MetisMenu CSS -->
    <link href="/vendor/metisMenu/metisMenu.min.css" rel="stylesheet">
    <!-- Custom CSS -->
    <link href="/dist/css/sb-admin-2.css" rel="stylesheet">
    <link href="/vendor/datepicker/datepicker3.css" rel="stylesheet">
    <!-- Custom Fonts -->
    <link href="/vendor/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
    <meta charset="UTF-8">
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">

    <title>ApplyPageEnterprise</title>
    <style>
        .nav > li {
            height: 60px;
        }

        li > a {
            height: 100%;
            width: 100%;
            text-align: center;
        }

        #upWindow {
            height: 240px;
        }

        #downWindow {
            height: 560px;
        }

        #iframeMapping {
            width: 100%;
            height: 100%;
        }

    </style>


</head>

<body>

<div id="page-ApplyPageEnterprise">
    <form id="CustcodePush" th:action="@{/ApplyPageEnterprise(CustCode=${CustCode})}"
          method="get">
        <input class="form-control" id="CustCode" type="hidden" name="CustCode" th:value="*{CustCode}">
    </form>

    <div id="upWindow">
        <ul class="nav nav-tabs nav-justified">
            <li id="EnterpriseApplyInfo">
                <a href="#"><h4>企业申请信息录入</h4></a>
            </li>
        </ul>
        <ul class="nav nav-tabs nav-justified">
            <li id="rePerInformation">
                <a href="#"><i class="fa fa-briefcase fa-fw"></i>关联方个人信息</a>
            </li>
            <li id="reComInformation">
                <a href="#"><i class="fa fa-building-o fa-fw"></i>关联方企业信息</a>
            </li>
            <li id="coCtrRelaInformation">
                <a href="#"><i class="fa fa-exchange fa-fw"></i>企业控制关系信息</a>
            </li>
            <li id="contactInfomation">
                <a href="#"><i class="fa fa-address-book-o fa-fw"></i>联系信息</a>
            </li>
            <li id="LoanApplicantGuarantee">
                <a href="#"><i class="fa fa-arrow-up fa-fw"></i>对外担保</a>
            </li>
            <li id="liabilityInfomation">
                <a href="#"><i class="fa fa-krw fa-fw"></i> 负债信息</a>
            </li>
        </ul>
        <ul class="nav nav-tabs nav-justified">
            <li id="LoanBusinessPersonInfo">
                <a href="#"><i class="fa fa-bar-chart fa-fw"></i>业务情况</a>
            </li>
            <li id="coborrowerInfomation">
                <a href="#"><i class="fa fa-users fa-fw"></i>共同借款人</a>
            </li>
            <li id="LoanCorporateCertificates">
                <a href="#"><i class="fa fa-object-group fa-fw"></i>证件管理</a>
            </li>
            <li id="LoanCorporateTopExecutives">
                <a href="#"><i class="fa fa-graduation-cap fa-fw"></i>高管信息</a>
            </li>
            <li id="LoanCorporateCapitalStructure">
                <a href="#"><i class="fa fa-percent fa-fw"></i> 资本构成信息</a>
            </li>
            <li id="LoanCorporateForeignInvestment">
                <a href="#"><i class="fa fa-shopping-bag fa-fw"></i> 对外投资信息</a>
            </li>
            <!--<li id="facility">-->
            <!--<a href="#"><i class="fa fa-credit-card fa-fw"></i>授信</a>-->
            <!--</li>-->
            <!--<li id="utilization">-->
            <!--<a href="#"><i class="fa fa-server fa-fw"></i>使用</a>-->
            <!--</li>-->
            <!--<li id="prenda">-->
            <!--<a href="#"><i class="fa fa-street-view fa-fw"></i>质押</a>-->
            <!--</li>-->
            <!--<li id="pledgeNew">-->
            <!--<a href="#"><i class="fa fa-sign-language fa-fw"></i>抵押</a>-->
            <!--</li>-->
            <!--<li id="creditInfo">-->
            <!--<a href="#"><i class="fa fa-credit-card-alt fa-fw"></i>信用</a>-->
            <!--</li>-->
            <!--<li id="guarantee">-->
            <!--<a href="#"><i class="fa fa-shield fa-fw"></i>保证</a>-->
            <!--</li>-->
        </ul>
        <ul class="nav nav-tabs nav-justified">

            <li id="LoanCorporateLitigationInfo">
                <a href="#"><i class="fa fa-ticket fa-fw"></i> 诉讼信息</a>
            </li>
            <li id="LoanCorporateMajorIssues">
                <a href="#"><i class="fa fa-stack-overflow fa-fw"></i> 大事信息</a>
            </li>
            <li id="LoanCorporateRepresentative">
                <a href="#"><i class="fa fa-user-circle-o fa-fw"></i>企业法人家族</a>
            </li>
            <li id="LoanApplicantShareholderInfor">
                <a href="#"><i class="fa fa-gg fa-fw"></i>股东信息</a>
            </li>
            <!--<li id="20">-->
            <!--<a href="#"><i class="fa fa-pencil-square-o fa-fw"></i>修改贷款卡编码</a>-->
            <!--</li>-->

            <li id="document">
                <a href="#"><i class="fa fa-file-text-o fa-fw"></i>文档</a>
            </li>
            <li id="print">
                <a href="#"><i class="fa fa-print fa-fw"></i> 打印</a>
            </li>
            <!--<li id="ApplySerial">-->
            <!--<a href="#"><i class="fa fa-paper-plane-o fa-fw"></i> 申请贷款(授信)</a>-->
            <!--</li>-->
        </ul>
    </div>
    <br/>
    <div id="downWindow">
        <iframe id="iframeMapping" frameborder="0" src=""></iframe>
    </div>
</div>


<script>
    var custcode;
    $(document).ready(function () {
        custcode = $("#CustCode").val();
        $('#iframeMapping').attr('src', '/EnterpriseUserInfo?CustCode=' + custcode);
    });
    //界面url
    //企业申请信息
    $('#EnterpriseApplyInfo').bind('click', function () {
        $('#iframeMapping').attr('src', '/EnterpriseUserInfo?CustCode=' + custcode);
    });
    //关联方个人信息
    $('#rePerInformation').bind('click', function () {
        $('#iframeMapping').attr('src', '/rePerInfo?custcode=' + custcode);
    });
    //关联方企业信息
    $('#reComInformation').bind('click', function () {
        $('#iframeMapping').attr('src', '/reComInfo?custcode=' + custcode);
    });
    //企业控制关系信息
    $('#coCtrRelaInformation').bind('click', function () {
        $('#iframeMapping').attr('src', '/coCtrRelaInfo?custcode='+custcode);
    });
    //联系信息
    $('#contactInfomation').bind('click', function () {
        $('#iframeMapping').attr('src', '/contactInfo?custcode='+custcode);
    });
    //对外担保
    $('#LoanApplicantGuarantee').bind('click', function () {
        $('#iframeMapping').attr('src', '/LoanApplicantGuarantee?custcode=' + custcode);
    });
    //负债信息
    $('#liabilityInfomation').bind('click', function () {
        $('#iframeMapping').attr('src', '/liabilityInfo?custcode='+custcode);
    });
    //业务情况
    $('#LoanBusinessPersonInfo').bind('click', function () {
        $('#iframeMapping').attr('src', '/LoanBusinessPersonInfo?custcode=' + custcode);
    });
    //共同借款人
    $('#coborrowerInfomation').bind('click', function () {
        $('#iframeMapping').attr('src', '/coborrowerInfo');
    });
    //证件管理
    $('#LoanCorporateCertificates').bind('click', function () {
        $('#iframeMapping').attr('src', '/LoanCorporateCertificates?custcode=' + custcode);
    });
    //高管信息
    $('#LoanCorporateTopExecutives').bind('click', function () {
        $('#iframeMapping').attr('src', '/LoanCorporateTopExecutives?custcode=' + custcode);
    });
    //资本构成信息
    $('#LoanCorporateCapitalStructure').bind('click', function () {
        $('#iframeMapping').attr('src', '/LoanCorporateCapitalStructure');
    });
    //对外投资信息
    $('#LoanCorporateForeignInvestment').bind('click', function () {
        $('#iframeMapping').attr('src', '/LoanCorporateForeignInvestment');
    });
    //诉讼信息
    $('#LoanCorporateLitigationInfo').bind('click', function () {
        $('#iframeMapping').attr('src', '/LoanCorporateLitigationInfo');
    });
    //大事信息
    $('#LoanCorporateMajorIssues').bind('click', function () {
        $('#iframeMapping').attr('src', '/LoanCorporateMajorIssues');
    });
    //企业法人家族
    $('#LoanCorporateRepresentative').bind('click', function () {
        $('#iframeMapping').attr('src', '/LoanCorporateRepresentative?custcode=' + custcode);
    });
    //股东信息
    $('#LoanApplicantShareholderInfor').bind('click', function () {
        $('#iframeMapping').attr('src', '/LoanApplicantShareholderInfor?custcode=' + custcode);
    });
    //打印
    $('#print').bind('click', function () {
        $('#iframeMapping').attr('src', '/Print/print');
    });
    //文档
    $('#document').bind('click', function () {
        $('#iframeMapping').attr('src', '/docInfo');
    });

//    $('#ApplySerial').bind('click', function () {
//        $('#iframeMapping').attr('src', '/ApplySerial?custcode=' + custcode);
//    });
//    $('#facility').bind('click', function () {
//        $('#iframeMapping').attr('src', '/FacilityList');
//    });
//    $('#utilization').bind('click', function () {
//        $('#iframeMapping').attr('src', '/UtilizationList');
//    });
//    $('#prenda').bind('click', function () {
//        $('#iframeMapping').attr('src', '/PrendaList');
//    });
//    $('#pledgeNew').bind('click', function () {
//        $('#iframeMapping').attr('src', '/PledgeNewList');
//    });
//    $('#creditInfo').bind('click', function () {
//        $('#iframeMapping').attr('src', '/creditInfo?custcode='+custcode);
//    });
//    $('#guarantee').bind('click', function () {
//        $('#iframeMapping').attr('src', '/guarantee?custcode='+custcode);
//    });


    //    LoanApplicantGuarantee
</script>
</body>
</html>